package com.maven.demo1;


import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

@RestController
public class HelloController {
    @RequestMapping("/hello")
    public String hello() {
        return "Hello World,世界你好";
    }

    @RequestMapping("/hi")
    public String hi() {
        return "hi  好呀 ";
    }
}